package livingarea.Members.Factory;

import livingarea.LivingArea;
import livingarea.Members.AreaMember;
import livingarea.Members.Pond;
import livingarea.Members.Position;

/**
 *
 * @author Vitaliy Muzalevskiy
 */
public class PondFactory implements AreaMemberFactory {

    @Override
    public AreaMember create(LivingArea livingArea) {
        return new Pond(livingArea);
    }

    @Override
    public AreaMember create(LivingArea livingArea, Position position) {
        return new Pond(livingArea, position);
    }
    
}
